import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';

class TostUtil {
  static showToast(String s) {
    Fluttertoast.showToast(
        msg: "$s",
        toastLength: Toast.LENGTH_SHORT,
        gravity: ToastGravity.CENTER,
        timeInSecForIos: 1,
        backgroundColor: Colors.blue,
        textColor: Colors.yellow);
  }
}
